<template>
  <div>
    <p>接收的属性{{$attrs.count}}--{{username}}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
    props:['username'],
  mounted() {
    console.log("this-Mycom1", this);
  }
};
</script>
<style scoped>
</style>